<template>
  <div>
    <el-row v-if="row.data_type == 0" type="flex" align="middle"><span>不跳转</span></el-row>
    <el-row v-else-if="row.data_type == 2 || row.data_type == 1" type="flex" align="middle">
      <el-link type="primary" :underline="false">{{ row.content_text }}</el-link>
    </el-row>
    <span v-else>{{ row.content_text }}</span>
  </div>
</template>

<script>
export default {
  props: {
    row: {
      type: Object,
      default: _ => {
        return {};
      }
    }
  }
};
</script>

<style></style>
